package com.finance.cooperate.data.service.impl;

import com.finance.cooperate.dao.local.scope.CooperateRequestScope;
import com.finance.cooperate.data.service.BorrowingService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName BorrowingServiceImpl
 * @Description TODO
 * @Author shen
 * @Date 2023/8/10 21:35
 * @Modify ...
 */
@Slf4j
@Service
public class BorrowingServiceImpl implements BorrowingService {

    @Autowired
    private CooperateRequestScope requestScope;

    @Override
    public Long getCurLoanNum(String uid) {
        return requestScope.getLoanNum();
    }
}
